-- GENERATED SPELL FOR [Gordawg] --


function spell0_18099(pUnit, Event) --@Knockdown,n/a--
pUnit:FullCastSpellOnTarget(20276,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18099', 2323, 1)
end

function Sorts_18099(pUnit, Event)
local choix_sorts_18099 = math.random(0, 0)
if choix_sorts_18099 == 0 then
pUnit:RegisterEvent('spell0_18099', 1, 1)
end
end

function mob18099_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18099', math.random(1500, 3000), 1)
end

function mob18099_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18099_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18099_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18099, 1, 'mob18099_Action')
RegisterUnitEvent(18099, 2, 'mob18099_Leave')
RegisterUnitEvent(18099, 3, 'mob18099_Kill')
RegisterUnitEvent(18099, 4, 'mob18099_Die')
